<template>
  <div>
    <ul>
      <li @click="left"><i class="van-icon van-icon-arrow-left"></i></li>
      <li><slot></slot></li>
      <li></li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      msg: "",
    };
  },
  mounted() {},
  methods: {
      left(){
          this.$router.go(-1)
      }
  },
};
</script>

<style lang="scss" scoped>
ul{
    display: flex;
    justify-content: space-between;
    font-size: 0.28rem;  //14px
    height: 1rem;
    align-items: center;
    padding:0 0.4rem;
}
</style>
